﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace testqwe
{
    //记录一个排样方式
    class Pattern
    {
        public int divid;//左边分割线
        public int dividright;//右边分割线
        public List<int[]> tp;//左边梯形的排样方式
        public List<int[]> pp;//中间平行四边形的排样方式
        public List<int[]> tpForRight;//右边梯形的排样方式
        public int type;//采用对称还是不对称的
        public Pattern(int line,List<int[]> t,List<int[]> p,int type) 
        {
            divid = line;
            dividright = -divid;
            tp = t;
            pp = p;
            tpForRight = tp;
            this.type = type;
        }
        public Pattern(int line, int line2, List<int[]> t, List<int[]> p, List<int[]> tr, int type)
        {
            divid = line;
            dividright = line2;
            tp = t;
            pp = p;
            tpForRight = tr;
            this.type = type;
        }
        public Pattern() 
        {
            divid =-100000;
        }
    }
}
